<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>switch & while</title>
    <script src="js/5.function-1.js"></script>
</head>
<body>

</body>
<script>

    /*var num = 0;
    switch (num) {
        case 0:{
            document.write("A")
        }break;
        case 1:{
            document.write("B")
        }break;
        case 2:{
            document.write("C ")
        }break;
        default:{
            document.write("nothing ");
        }

    }*/

/*    var num=0;

     while (num<3) {
         document.write(num+" 小于3 \n");
         num++;
     }*/


printHello();
</script>
</html>